/* 员工查询接口 */
/* 员工查询 */
export const employSearch = (type,datas,data)=>{
  if(data == undefined){
    return axios({
      url:`/org/employee/search/${type}?page=${datas.page}&size=${datas.size}`,
      method:'post',
    })
  }else{
    return axios({
      url:`/org/employee/search/${type}?page=${datas.page}&size=${datas.size}`,
      method:'post',
      data
    })
  }

}
